﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000C83 RID: 3203
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class NpcMonsterRogueInfo : IMessage<NpcMonsterRogueInfo>, IMessage, IEquatable<NpcMonsterRogueInfo>, IDeepCloneable<NpcMonsterRogueInfo>, IBufferMessage
	{
		// Token: 0x17002854 RID: 10324
		// (get) Token: 0x06008F2B RID: 36651 RVA: 0x0017C547 File Offset: 0x0017A747
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<NpcMonsterRogueInfo> Parser
		{
			get
			{
				return NpcMonsterRogueInfo._parser;
			}
		}

		// Token: 0x17002855 RID: 10325
		// (get) Token: 0x06008F2C RID: 36652 RVA: 0x0017C54E File Offset: 0x0017A74E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return NpcMonsterRogueInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002856 RID: 10326
		// (get) Token: 0x06008F2D RID: 36653 RVA: 0x0017C560 File Offset: 0x0017A760
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return NpcMonsterRogueInfo.Descriptor;
			}
		}

		// Token: 0x06008F2E RID: 36654 RVA: 0x0017C567 File Offset: 0x0017A767
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NpcMonsterRogueInfo()
		{
		}

		// Token: 0x06008F2F RID: 36655 RVA: 0x0017C570 File Offset: 0x0017A770
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NpcMonsterRogueInfo(NpcMonsterRogueInfo other) : this()
		{
			this.level_ = other.level_;
			this.hardLevelGroup_ = other.hardLevelGroup_;
			this.pHLBECLKBHH_ = other.pHLBECLKBHH_;
			this.rogueMonsterId_ = other.rogueMonsterId_;
			this.eliteGroup_ = other.eliteGroup_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008F30 RID: 36656 RVA: 0x0017C5D0 File Offset: 0x0017A7D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NpcMonsterRogueInfo Clone()
		{
			return new NpcMonsterRogueInfo(this);
		}

		// Token: 0x17002857 RID: 10327
		// (get) Token: 0x06008F31 RID: 36657 RVA: 0x0017C5D8 File Offset: 0x0017A7D8
		// (set) Token: 0x06008F32 RID: 36658 RVA: 0x0017C5E0 File Offset: 0x0017A7E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Level
		{
			get
			{
				return this.level_;
			}
			set
			{
				this.level_ = value;
			}
		}

		// Token: 0x17002858 RID: 10328
		// (get) Token: 0x06008F33 RID: 36659 RVA: 0x0017C5E9 File Offset: 0x0017A7E9
		// (set) Token: 0x06008F34 RID: 36660 RVA: 0x0017C5F1 File Offset: 0x0017A7F1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint HardLevelGroup
		{
			get
			{
				return this.hardLevelGroup_;
			}
			set
			{
				this.hardLevelGroup_ = value;
			}
		}

		// Token: 0x17002859 RID: 10329
		// (get) Token: 0x06008F35 RID: 36661 RVA: 0x0017C5FA File Offset: 0x0017A7FA
		// (set) Token: 0x06008F36 RID: 36662 RVA: 0x0017C602 File Offset: 0x0017A802
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PHLBECLKBHH
		{
			get
			{
				return this.pHLBECLKBHH_;
			}
			set
			{
				this.pHLBECLKBHH_ = value;
			}
		}

		// Token: 0x1700285A RID: 10330
		// (get) Token: 0x06008F37 RID: 36663 RVA: 0x0017C60B File Offset: 0x0017A80B
		// (set) Token: 0x06008F38 RID: 36664 RVA: 0x0017C613 File Offset: 0x0017A813
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint RogueMonsterId
		{
			get
			{
				return this.rogueMonsterId_;
			}
			set
			{
				this.rogueMonsterId_ = value;
			}
		}

		// Token: 0x1700285B RID: 10331
		// (get) Token: 0x06008F39 RID: 36665 RVA: 0x0017C61C File Offset: 0x0017A81C
		// (set) Token: 0x06008F3A RID: 36666 RVA: 0x0017C624 File Offset: 0x0017A824
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EliteGroup
		{
			get
			{
				return this.eliteGroup_;
			}
			set
			{
				this.eliteGroup_ = value;
			}
		}

		// Token: 0x06008F3B RID: 36667 RVA: 0x0017C62D File Offset: 0x0017A82D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as NpcMonsterRogueInfo);
		}

		// Token: 0x06008F3C RID: 36668 RVA: 0x0017C63C File Offset: 0x0017A83C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(NpcMonsterRogueInfo other)
		{
			return other != null && (other == this || (this.Level == other.Level && this.HardLevelGroup == other.HardLevelGroup && this.PHLBECLKBHH == other.PHLBECLKBHH && this.RogueMonsterId == other.RogueMonsterId && this.EliteGroup == other.EliteGroup && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008F3D RID: 36669 RVA: 0x0017C6B8 File Offset: 0x0017A8B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Level != 0U)
			{
				num ^= this.Level.GetHashCode();
			}
			if (this.HardLevelGroup != 0U)
			{
				num ^= this.HardLevelGroup.GetHashCode();
			}
			if (this.PHLBECLKBHH != 0U)
			{
				num ^= this.PHLBECLKBHH.GetHashCode();
			}
			if (this.RogueMonsterId != 0U)
			{
				num ^= this.RogueMonsterId.GetHashCode();
			}
			if (this.EliteGroup != 0U)
			{
				num ^= this.EliteGroup.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008F3E RID: 36670 RVA: 0x0017C75B File Offset: 0x0017A95B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008F3F RID: 36671 RVA: 0x0017C763 File Offset: 0x0017A963
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008F40 RID: 36672 RVA: 0x0017C76C File Offset: 0x0017A96C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.PHLBECLKBHH != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.PHLBECLKBHH);
			}
			if (this.EliteGroup != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.EliteGroup);
			}
			if (this.HardLevelGroup != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.HardLevelGroup);
			}
			if (this.RogueMonsterId != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.RogueMonsterId);
			}
			if (this.Level != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.Level);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008F41 RID: 36673 RVA: 0x0017C81C File Offset: 0x0017AA1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Level != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Level);
			}
			if (this.HardLevelGroup != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.HardLevelGroup);
			}
			if (this.PHLBECLKBHH != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PHLBECLKBHH);
			}
			if (this.RogueMonsterId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.RogueMonsterId);
			}
			if (this.EliteGroup != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EliteGroup);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008F42 RID: 36674 RVA: 0x0017C8BC File Offset: 0x0017AABC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(NpcMonsterRogueInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Level != 0U)
			{
				this.Level = other.Level;
			}
			if (other.HardLevelGroup != 0U)
			{
				this.HardLevelGroup = other.HardLevelGroup;
			}
			if (other.PHLBECLKBHH != 0U)
			{
				this.PHLBECLKBHH = other.PHLBECLKBHH;
			}
			if (other.RogueMonsterId != 0U)
			{
				this.RogueMonsterId = other.RogueMonsterId;
			}
			if (other.EliteGroup != 0U)
			{
				this.EliteGroup = other.EliteGroup;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008F43 RID: 36675 RVA: 0x0017C948 File Offset: 0x0017AB48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008F44 RID: 36676 RVA: 0x0017C954 File Offset: 0x0017AB54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 32U)
				{
					if (num == 24U)
					{
						this.PHLBECLKBHH = input.ReadUInt32();
						continue;
					}
					if (num == 32U)
					{
						this.EliteGroup = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 48U)
					{
						this.HardLevelGroup = input.ReadUInt32();
						continue;
					}
					if (num == 88U)
					{
						this.RogueMonsterId = input.ReadUInt32();
						continue;
					}
					if (num == 112U)
					{
						this.Level = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04003698 RID: 13976
		private static readonly MessageParser<NpcMonsterRogueInfo> _parser = new MessageParser<NpcMonsterRogueInfo>(() => new NpcMonsterRogueInfo());

		// Token: 0x04003699 RID: 13977
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400369A RID: 13978
		public const int LevelFieldNumber = 14;

		// Token: 0x0400369B RID: 13979
		private uint level_;

		// Token: 0x0400369C RID: 13980
		public const int HardLevelGroupFieldNumber = 6;

		// Token: 0x0400369D RID: 13981
		private uint hardLevelGroup_;

		// Token: 0x0400369E RID: 13982
		public const int PHLBECLKBHHFieldNumber = 3;

		// Token: 0x0400369F RID: 13983
		private uint pHLBECLKBHH_;

		// Token: 0x040036A0 RID: 13984
		public const int RogueMonsterIdFieldNumber = 11;

		// Token: 0x040036A1 RID: 13985
		private uint rogueMonsterId_;

		// Token: 0x040036A2 RID: 13986
		public const int EliteGroupFieldNumber = 4;

		// Token: 0x040036A3 RID: 13987
		private uint eliteGroup_;
	}
}
